﻿using System;
using System.Collections.Generic;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.EFCore;

/// <summary>
/// 行为日志表
/// </summary>
public partial class ActionLog
{
    /// <summary>
    /// r,u,d-编号
    /// </summary>
    public int AlId { get; set; }

    /// <summary>
    /// r-消息
    /// </summary>
    public string AlMessage { get; set; } = null!;

    /// <summary>
    /// r-请求参数(json)
    /// </summary>
    public string AlRequestParams { get; set; } = null!;

    /// <summary>
    /// r-请求地址
    /// </summary>
    public string AlRequestUrl { get; set; } = null!;

    /// <summary>
    /// r-请求方法
    /// </summary>
    public string AlRequestMethod { get; set; } = null!;

    /// <summary>
    /// r-ip地址
    /// </summary>
    public string AlIp { get; set; } = null!;

    /// <summary>
    /// r-受影响行数
    /// </summary>
    public int? AlAffectedRows { get; set; }

    /// <summary>
    /// r-请求人
    /// </summary>
    public int AlAccountId { get; set; }

    /// <summary>
    /// r-创建时间
    /// </summary>
    public DateTime AlCreateTime { get; set; }

    public virtual Account AlAccount { get; set; } = null!;
}
